﻿//------------------------------------------------------------------------------
// <pcdd-entitiy>
//     彩票游戏实体类库
//     充值年统计实体对象
// </pcdd-entitiy>
//------------------------------------------------------------------------------

namespace CL.Game.Entity
{
    /// <summary>
    /// 对象
    /// </summary>
    public class RechargeYearReportCellEntity
    {
        /// <summary>
        /// 月份
        /// </summary>
        public string strMonth { get; set; }

        /// <summary>
        /// 合作商
        /// </summary>
        public string strPartner { get; set; }

        /// <summary>
        /// 成功订单金额
        /// </summary>
        public double successAmount { get; set; }

        /// <summary>
        /// 未支付金额
        /// </summary>
        public double noPayAmount { get; set; }

        /// <summary>
        /// 费率 (百分比)
        /// </summary>
        public double rate {
            get
            {
                if ("WeChatPay" == strPartner)
                    return 0.08;
                else if ("YFB_Pay" == strPartner)
                    return 0.08;
                else if ("WFT_Pay" == strPartner)
                    return 0.08;
                else
                    return 0.08;
            }
        }

        /// <summary>
        /// 手续费
        /// </summary>
        public double rateAmount { get; set; }
    }
}
